Skip to content

Conversation

@sugatoray
Copy link
Contributor

@sugatoray sugatoray commented Jan 18, 2026

Two updates:

  • Add py.typed file for providing typing support (PEP-561)
  • Update pathlib.Path.parent.parent.parent.parent to pathlib.Path.parents[3]

@SteveSandersonMS SteveSandersonMS marked this pull request as ready for review January 19, 2026 13:29
@SteveSandersonMS SteveSandersonMS requested a review from a team as a code owner January 19, 2026 13:29
Copilot AI review requested due to automatic review settings January 19, 2026 13:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds minor improvements to the Python SDK for better type checking support and cleaner code.

Changes:

  • Add py.typed marker file to enable PEP-561 type checking support for the copilot package
  • Refactor pathlib.Path navigation from chained .parent calls to cleaner parents[n] indexing

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
python/copilot/py.typed Adds PEP-561 marker file to indicate the package supports type checking
python/e2e/testharness/context.py Replaces chained .parent.parent.parent.parent calls with cleaner parents[3] syntax for path navigation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@SteveSandersonMS SteveSandersonMS added this pull request to the merge queue Jan 19, 2026
@SteveSandersonMS
Copy link
Contributor

Thanks @sugatoray!

Merged via the queue into github:main with commit 9f6b764 Jan 19, 2026
3 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants